package com.tca.spring.framework.learning.ioc.config;

import com.tca.spring.framework.learning.ioc.beans.Student;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhoua
 * @Date 2021/5/1
 */
@Configuration
public class StudentConfiguration {

    @Bean
    public Student student() {
        return new Student(10L, "Messi");
    }
}
